package com.lcq.gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lcq.common.utils.PageUtils;
import com.lcq.gulimall.ware.entity.PurchaseEntity;
import com.lcq.gulimall.ware.vo.PurchaseDoneVo;
import com.lcq.gulimall.ware.vo.PurchaseMergeVo;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author lichuanqi
 * @email lichuanqi0086@163.com
 * @date 2021-02-21 18:00:14
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils unreceiveList(Map<String, Object> params);

    void merge(PurchaseMergeVo purchaseMergeVo);

    void saveDetail(PurchaseEntity purchase);

    void update(PurchaseEntity purchase);

    void received(List<Long> ids);

    void done(PurchaseDoneVo doneVo);
}

